﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DepartAdd.aspx.cs" Inherits="HRWebSite.Sys.DepartAdd" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>    
    <script type="text/javascript">
        $('#lAddParent').text(window.top.orgChartParentName);
        $('#iAddParentID').val(window.top.orgChartParentID);
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div id="DepartAdd">
        <div class="popup">
            <div class="popup-header">
                添加子部门
            </div>
            <div class="popup-body">
                <table border="1">
                    <tr>
                        <td style="width: 100px;">
                            上级部门
                        </td>
                        <td style="width: 100px;">
                            <label id='lAddParent'>
                            </label>
                        </td>
                        <td colspan="2" align="right">
                            <asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="~/img/btn_save1.gif"
                                OnClick="ImageButton1_Click" />
                        </td>
                    </tr>
                    <tr>
                        <td>
                            上级编号
                        </td>
                        <td>
                            <input type='text' id='iAddParentID' name='iAddParentID' readonly=readonly />
                        </td>
                        <td>
                            部门名称
                        </td>
                        <td>
                            <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
                        </td>
                    </tr>
                </table>
            </div>
        </div>
    </div>
    </form>
</body>
</html>
